package com.jyu.apts.service;

import java.util.List;

import org.springframework.data.domain.Page;

import com.jyu.apts.entity.Organization;

public interface OrganizationService {
	public Organization findByName(String name);
	public List<Organization> findAll();
	public Organization getOne(long id);
	public Page<Organization> getOrganizationPage(Integer pageNumber,Integer pageSize,String search);
	public void save(Organization organization);
	public void save(List<Organization> organizations);
	public void delete(List<Organization> organizations);
	public void delete(Organization organization);
}
